package com.xiaoxin.yixinai.companyinfo;

import java.util.List;

import org.springframework.data.domain.Sort;
import org.springframework.stereotype.Repository;

import com.xiaoxin.yixinai._frame.base.BaseRepository;

@Repository
public interface CompanyInfoRepository extends BaseRepository<CompanyInfo> {

	List<CompanyInfo> findAll(Sort sort);
	
	List<CompanyInfo> findByAgentsIdOrderByCompanyId(Integer agentsId);
}
